package com.world.request.dto;

/**
 * 接口返回值
 *
 * @author 邓驴
 * @date 2023/5/13 15:48
 **/
public class ResponseData<T> {

    private Integer code;

    private T data;

    private String msg;

    public ResponseData() {
    }

    public ResponseData(Integer code, T data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}

